package br.com.panfleto.cadastro.model.persistence;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;

/** @author Hibernate CodeGenerator */
public class TbUsuarioSistema implements Serializable {

	/** identifier field */
	private Integer cod;

	/** nullable persistent field */
	private String login;

	/** nullable persistent field */
	private String senha;

	/** full constructor */
	public TbUsuarioSistema(Integer cod, String login, String senha) {
		this.cod = cod;
		this.login = login;
		this.senha = senha;
	}

	/** default constructor */
	public TbUsuarioSistema() {
	}

	/** minimal constructor */
	public TbUsuarioSistema(Integer cod) {
		this.cod = cod;
	}

	public Integer getCod() {
		return this.cod;
	}

	public void setCod(Integer cod) {
		this.cod = cod;
	}

	public String getLogin() {
		return this.login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getSenha() {
		return this.senha;
	}

	public void setSenha(String senha) {
		this.senha = senha;
	}

	public String toString() {
		return new ToStringBuilder(this).append("cod", getCod()).toString();
	}

}
